<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>邀请好友</title>
    <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8,IE=7" /><!--IE 兼容模式-->
    <meta content="no" name="apple-mobile-web-app-capable" /><!-- ios允许全屏 -->
    <meta content="telephone=no" name="format-detection" /><!-- 禁止将长数字默认为电话号码 -->
    <link href="  ../css/luo.css" rel="stylesheet">
</head>

<body>
<div class="banner">
    <p><img src="  ../image/share.png" alt=""></p>
</div>
<div class="banner">
    <button class="ct_download">立即下载</button>
</div>

<script src="  ../js/jquery.js"></script>
<script type="text/javascript">
    $(function () {
        var browser = {
            versions: function () {
                var u = navigator.userAgent,
                    app = navigator.appVersion;
                return { //移动终端浏览器版本信息
                    ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端
                    android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或uc浏览器
                    iPhone: u.indexOf('iPhone') > -1, //是否为iPhone或者QQHD浏览器
                    iPad: u.indexOf('iPad') > -1, //是否iPad
                };
            }(),
        }
        if (browser.versions.iPhone || browser.versions.iPad || browser.versions.ios) {
            alert('ios版本未上架');
        }
        if (browser.versions.android) {
            $('.ct_download').click(function () {
                window.location.href = "http://app.scjapp.com:8088/apk/cuotigou.apk";
            })
        }

    })
</script>

</body>
</html>